@font-face {
    font-family: "Nunito";
    src: url(../../[I\ Made\ Wijaya\ Kesuma]_Bahan/Nunito-Medium.ttf);
}
@font-face {
    font-family: "Roboto";
    src:  url(../../[I\ Made\ Wijaya\ Kesuma]_Bahan/Roboto-Medium.ttf);
}
@font-face {
    font-family: "Poppins";
    src:  url(../../[I\ Made\ Wijaya\ Kesuma]_Bahan/Poppins-Medium.ttf);
}
*{padding: 0; margin: 0; list-style: none; text-decoration: none;}

body{
    scroll-behavior: smooth;
    background: #eeeeef;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

.header{
    width: 100%;
    height: 108px;
}

.navbar1{
    width: 100%;
    height: 106px;
    background: #fff;
}

.navbar-atas{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo-atas img{
    width: 150px;
    padding-left: 250px;
}

.menu-atas{
    width: 70%;
    padding-left: 10px;
}

.menu-atas ul li{
    display: inline-block;
}

.menu-atas a{
    text-decoration: none;
    color: #4e4e4e;
    font-size: 14px;
    font-weight: 600;
    padding: 19px 10px;
    margin-left: -10px;
    font-family: 'Roboto', sans-serif;
}

.menu-atas .hover:hover{
    background: #fff;
    color: #ffa200;
}

.menu-atas .active{
    background: #ffa200;
    color: #fff;
}

.menu-atas a:hover{
    background: #ffa200;
    color: #fff;
}

input{
    width: 80px;
    padding: 5px 10px 5px 5px;
    border-radius: 5px;
    border: 1px solid #adadad;
    transition: 0.7s ease;
}

input[type=text]:focus{
    width: 60%;
    padding: 5px 10px 5px 5px;
    border-radius: 5px;
    border: 1px solid #adadad;
    outline: none;
}

.fa-magnifying-glass{
    position: relative;
    top: 2px;
    left: -33px;
    padding: 7px;
    border-radius: 5px;
    background: #adadad;
    color: #fff;
}

.fa-cart-shopping{
    font-size: 25px;
    color: #ffa200;
    padding-right: 10px;
}

.user{
    display: flex;
    cursor: pointer;
}

.fa-circle-user{
    font-size: 30px;
    color: #a100ff;
    padding-left: 10px;
    padding-right: 250px;
    border-left: 1px solid #b3b3b3 ;
}

/* ====== Navbar Bawah ===== */
.navbar-bawah{
    width: 100%;
    height: 55px;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient(to left, #ffb432 0%, #ffa200 100%);
}

.logo-bawah{
    width: 30%;
}
.menu-bawah{
    width: 45%;
    padding-left: 20px;
}
.lapak{
    width: 25%;
}

.logo-bawah img{
    width: 55px;
    float: right;
}

.menu-bawah ul li{
    display: inline-block;
}

.navbar-bawah a{
    color: #fff;
    font-size: 13px;
    padding: 21px 10px 17px 10px;
    font-family: 'Roboto', serif;
}

.navbar-bawah a:hover{
    background: #a100ff;
    color: #fff;
}

.fa-pencil{
    color: #fff;
    cursor: pointer;
    padding-right: 5px;
}

.lapak a{
    padding-left: 5px;
    border-right: 1px solid #fff;
}

/* ===== HOME JUAL BELi ==== */
.homejualbeli{
    width: 100%;
    height: 70vh;
    padding: 50px;
    box-sizing: border-box;
    border-top: 1px solid #fff;
    background: linear-gradient(to left, #ffb432 0%, #ffa200 100%);
}

.containerhome{
    width: 60%;
    height: 45vh;
    margin: auto;
    background: #eeeeef;
    overflow: hidden;
    border: 20px solid #333;
    box-shadow: rgba(0, 0, 0, 0.778) 0px 3px 8px;
}

.slider{
    width: 560%;
    height: 500px;
    display: flex;
    margin: auto;
}

.slider input{
    display: none;
}

.slide{
    transition: 3s;
}

.slide img{
    width: 855px;
    height: 390px;
}

#radio1:checked ~.first{
    margin-left: 0;
}

#radio2:checked ~.first{
    margin-left: -17.9%;
}
#radio3:checked ~.first{
    margin-left: -35.9%;
}
#radio4:checked ~.first{
    margin-left: -53.8%;
}

.nav-auto{
    position: absolute;
    width: 800px;
    display: flex;
    justify-content: center;
}

.slide-auto div{
    padding: 5px;
    border-radius: 10px;
    transition: 0.8s;
}

.slide-auto div:not(:last-child){
    margin-right: 30px;
    justify-content: center;
}

/* === Layanan === */
.layanan{
    width: 80%;
    height: 20vh;
    margin: auto;
    margin-top: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.card-layanan{
    width: 20%;
    height: 20vh;
    background: #fff;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 15px;
    border: 5px solid #a100ff;
}

.card-layanan h3{
    color: #fff;
    padding: 3px 0;
    margin: -23px 0 20px 0;
    background: #a100ff;
    border-radius: 5px;
}

/* ====== CONTENT JUAL BELI ===== */
.content-jualbeli{
    width: 100%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
}

.container-jualbeli{
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 160px;
}

.content-jualbeli{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.container-jualbeli h1{
    width: 80%;
    margin: auto;
    font-family: 'Nunito', serif;
    color: #ffa200  ;
    margin-top: 30px;
    margin-bottom: -15px; 
    border-bottom: 2px solid #a100ff;
}


.card-produk{
    width: 15%;
    margin: 10px;
}

.card-produk:hover{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.card-produk img{
    width: 100%;
    height: 20vh;
}

.footer{
    width: 100%;
    height: 70vh;
}

.container-footer{
    width: 70%;
    height: 70vh;
    margin: auto;
}

.content-footer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.card-footer{
    width: 25%;
    height: auto;
}

.text{
    padding: 7px;
}

.text img{
    width: 20px;
    height: 20px;
    border-radius: 50px;
}

.text h6 {
    position: relative;
    top: -20px;
    right: -30px;
    color: #333;
}

.text h5{
    font-size: 13px;
    color: #000;
}

.text h4{
    font-size: 15px;
    color: #ffa200;
    padding: 5px 0;
}

.more{
    text-align: center;
}

.more a{
    text-decoration: none;
    padding: 10px;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(to left, #ff9100 0%, #eeff00 100%);
    border-radius: 5px;
    border: 1px solid #fff;
}

/* ==== FOOTER ==== */
.footer{
    width: 100%;
    height: auto; 
    border-top: 5px solid #a100ff;
    background: linear-gradient(to left, #ffffff 0%, #f0f0f0 0%);
}

.container-footer{
    width: 70%;
    height: auto;
    margin: auto;
    margin-top: 30px;
}

.content-footer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.card-footer{
    display: flex;
    flex-direction: column;
    width: 25%;
    height: 27vh;
    padding: 10px;
    box-sizing: border-box;
}

.card-footer h3{
    font-size: 17px;
    padding-bottom: 10px;
    font-family: 'Nunito', sans-serif;
}

.card-footer a{
    font-size: 14px;
    padding: 3px 0;
    text-decoration: none;
    color: #787878;
}

.card-footer a:hover{
    color: #ababab;
}

.create{
    margin: 15px 0 0 0;
    text-align: center;
    padding: 7px;
    background: #000;
    color: #fff;
}

@media (max-width: 700px) {
    /* ======= FOOTER ====== */
    .content-footer{
        flex-wrap: wrap;
    }

    .card-footer{
       width: 40%;
       margin: 60px 0;
    }
} 